package com.ddstation.crm.outpatient.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.ddstation.crm.outpatient.entity.DtHealthDataWestPrescriptionEntity;
import tk.mybatis.mapper.common.Mapper;

/**
 * dt_health_data_west_prescription 门诊病历 成药处方
 * @author jinxiongjun
 * @date 2018年1月13日
 */
public interface DtHealthDataWestPrescriptionMapper  extends Mapper<DtHealthDataWestPrescriptionEntity>{
	public List<DtHealthDataWestPrescriptionEntity> selectByParans(@Param("uid") String uid, @Param("childId") Integer childId, @Param("medicalId") String medicalId);

    List<DtHealthDataWestPrescriptionEntity> selectByMedicalId(@Param("medicalId") String medicalId);

    List<DtHealthDataWestPrescriptionEntity> selectByParansForOutHis(@Param("uid")String uid, @Param("childId")int childId, @Param("medicalId")String medicalId);
}
